public class Cat extends Animal {
    public Cat(String name) {
        super(name);
    }
    
    @Override
    public void makeSound() {
        System.out.println(name + " says: Meow! Meow!");
    }
    
    // Cat类特有的方法
    public void purr() {
        System.out.println(name + " is purring");
    }
}